home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 January: Mac OS SDK / Dev.CD Jan 97 SDK2.toast / Development Kits (Disc 2) / OpenDoc Development Framework / ODF-Interest Archive / May 96 / Re List manager < prev    next >
Encoding:
Internet Message Format  |  1996-12-03  |  2.0 KB  |  [TEXT/ttxt]

  1. Subject:     Re: List manager
  2. Sent:        5/15/96 1:30 PM
  3. Received:    5/17/96 9:03 AM
  4. From:        Bernhard Damberger, damberge@apple.com
  5. Reply-To:    ODF-Interest@CILabs.ORG
  6. To:          OpenDoc Development Framework Discussion List, ODF-Interest@CILabs.
  7.  
  8. We had a project here at Apple that required a list part.  The list manager
  9. that ODF R1 was going to provide at the time was not going to be
  10. sufficient, and in fact had not been implimented at the time.  So I ported
  11. the MacApp list manager into ODF and made a part out of it.
  12.  
  13. >I believe MacApp has similar TGridView and TTextGridView classes.
  14. I created FW_CGridView as well as FW_CTextGridView, including iterators,
  15. etc.  Note, that the FW_CGridView does NOT manage your list data, it just
  16. handles organizing it for drawing, etc (just like MacApp's).
  17.  
  18. >
  19. >        I think ODF needs much more generalized table classes than just a
  20. >one-dimensional text list....
  21. Thats what FW_CGridView is used for.
  22.  
  23. >  There can also
  24. >be a HighlightCell method that can be overridden to change the way
  25. >different cells are highlighted.
  26. Hilighting has been implimented.  Unfortunately scrolling has not, and must
  27. be done at the Frame level (though that has been implemented for the part).
  28. So to get scrolling you need to add the FW_CGridView to a frame.  It can't
  29. scroll on its own.
  30.  
  31. The list part also impliments an extension API for adding text items to the
  32. list.  It might be interesting as an example on how to write ODF
  33. extensions. (You could also look at the Semantic interface code from ODF R1
  34. as an example on how to write extensions.)
  35.  
  36. We are going to place the list part and the ported MacApp code on the
  37. unsupported tools page some time in the near future.  This code is NOT
  38. supported and is NOT part of the official ODF R1 release, and may never be!
  39. It has not gone through any QA process.  We are just going to put it
  40. there as UNSUPPORTED example code.  Standard legealease applies.  I will
  41. announce when the NautAList (as its called) part is available (next couple
  42. of days?).
  43.  
  44. Bernhard Damberger
  45. ODF QA Guy
  46. damberge@apple.com
  47.  
  48.